package com.example.demo.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description：登录接口响应数据.
 * @author：lw
 * @since：2023/12/29
 **/

@Schema(description = "登录接口响应数据")
@Data
public class LoginVo {
    @Schema(description = "登录凭证")
    private String token;

    @Schema(description = "用户id")
    private String id;

    @Schema(description = "微信绑定登录的key")
    private String wxBindKey;   // 当存在该值时，请调用绑定并登录接口

    public LoginVo(String token,String id,String wxBindKey){
        this.token=token;
        this.id=id;
        this.wxBindKey=wxBindKey;
    }
    public LoginVo(){}
}
